<page-header [title]="pageTitle" [autoBreadcrumb]="false" [action]="action">
  <ng-template #action>
    <button
      nz-button
      (click)="add($event)"
      [nzType]="'primary'"
      [nzSize]="'large'"
    >
      新建
    </button>
  </ng-template>
</page-header>

<div class="ngx-alain__page-content-nz-card">
  <nz-card [nzBordered]="false">
    <div class="main">
      <div class="menu">
        <ul nz-menu [nzMode]="'inline'">
          <li
            *ngFor="let item of dictTypeName"
            nz-menu-item
            [nzSelected]="item.type == dictActive['type']"
            (click)="dictTypeClick(item)"
          >
            {{ item.type_name }}
          </li>
        </ul>
      </div>
      <div class="content">
        <st
          #st
          [data]="url"
          [columns]="tableData.col"
          [req]="tableReq"
          (change)="stChange($event)"
        ></st>
      </div>
    </div>
  </nz-card>
</div>
